<?php
class DefaultController extends Controller
{	
	public $backend_left_menu = "_menu";
	public $backend_left_menu_datas = array('list'	=>	array());
	
	public $layout='//layouts/main'; 
	public function init()
	{
			Yii::app()->theme = 'backend';
			parent::init();
	}
	
	/**
	 * Lists all models.
	 */
	public function actionIndex()
	{
		$dataProvider=new CActiveDataProvider('User', array(
			'pagination'=>array(
				'pageSize'=>Yii::app()->controller->module->user_page_size,
			),
		));

		$this->render('/user/index',array(
			'dataProvider'=>$dataProvider,
		));
	}
}